package com.feiniu.api.util;

public class StringUtil {

	public static String removeSlash(String s) {
		if (s.startsWith("/")) {
			s = s.substring(1, s.length());
		}
		return s;
	}

	public static String addSlash(String s) {
		if (s.startsWith("/")) {
			return s;
		}
		return "/" + s;
	}

}
